/**
 * @author guysagy
 */

package model;

public class User
{
    private String      userName = "";
    private int         password = 0;
    private Profile     profile = new Profile(-1, "","","");
    private UserState   state = UserState.VISITOR;
    private int         userId = -1;

    public User(String userName, int password)
    {
        this.userName = userName;
        this.password = password;
    }

    public void setProfile(Profile profile)
    {
        this.profile = profile;
    }

    public Profile getProfile()
    {
        return profile;
    }

    public void setState(UserState state)
    {
        this.state = state;
    }

    public UserState getState()
    {
        return state;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return this.userName;
    }

    public void setPasswrod(int password)
    {
        this.password = password;
    }

    public int getPassword()
    {
        return this.password;
    }

    public void setUserId(int userId)
    {
        this.userId = userId;
    }

    public int getUserId()
    {
        return this.userId;
    }
}
